@charset "utf-8";


/* ==========================================================================
   1. CORE RESET & STRUCTURAL CONTAINER
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Box Model Strategy for safe padding grids */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (Solid Navy Background from Figma Rubric)
   ========================================================================== */
header {
    background-color: #182758; /* Deep Navy Background from your Style Tile */
    border-bottom: 4px solid #EF1A1A; /* Accent Red bottom anchor border */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between; /* Pushes logo left, menu items right */
    align-items: center;
}

/* Logo typography styled for maximum contrast against Navy */
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff; /* Crisp white for visibility */
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #EDEBEB; /* Light Off-White/Gray from palette for clean readability */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    margin-left: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* NAV ROLLOVER STATE (Part 3 Requirement) */
nav ul li a:hover {
    background-color: #535353; /* Dark Gray from Style Tile on Hover */
    color: #ffffff;
}

/* Active Class Highlight Using Accent Red */
nav ul li a.active {
    background-color: #EF1A1A; /* Accent Red Background for active item */
    color: #ffffff;
}

/* Capsule Button Link Option (Matches "Shop" element block on your wireframe) */
nav ul li:last-child a {
    border: 2px solid #EF1A1A; /* Red border to stand out against navy background */
    border-radius: 25px;
    padding: 8px 22px;
    margin-left: 12px;
    background-color: transparent;
}

nav ul li:last-child a:hover {
    background-color: #ffffff;
    color: #182758; /* Color invert on hover */
    border-color: #ffffff;
}

/* ==========================================================================
   3. PAGE TITLE BANNER (Dedicated Background Block for Page Headers)
   ========================================================================== */
.page-title-banner {
    background-color: #535353; /* Dark Gray Background from Style Tile */
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-title-banner h1 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff; /* Bright white header text against gray background */
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. HERO BANNER REGION (Image Integration & Center Alignment)
   ========================================================================== */
.hero-banner {
    background: linear-gradient(rgba(24, 39, 88, 0.75), rgba(24, 39, 88, 0.85)), url('images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 360px;
    margin-bottom: 40px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    /* Flexbox Alignment Strategy */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-label {
    background: #ffffff;
    padding: 18px 45px;
    border: 2px solid #000000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #182758;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* ==========================================================================
   5. 12-COLUMN FLEXBOX GRID & SECTION STYLES
   ========================================================================== */
h2, .section-title {
    font-family: 'Open Sans', sans-serif;
    color: #182758; /* Executive Navy for secondary sections */
    font-weight: 600;
    margin-bottom: 20px;
}

h3, .card h3 {
    font-family: 'Mukta Mahee', sans-serif;
    color: #182758;
    font-size: 1.3rem;
}

/* 12-Column Row Layout Strategy */
.grid-row {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap vertically on narrow monitors */
    gap: 24px;       /* Distributes spacing evenly between adjacent flex elements */
    margin: 30px 0;
}

.col-12 { flex: 0 0 100%; }
.col-6  { flex: 1; min-width: 320px; }
.col-4  { flex: 1; min-width: 260px; }

/* Content Cards (Services, Bios, Profiles) */
.card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px); /* Elevates block smoothly on hover */
    box-shadow: 0 16px 40px rgba(24, 39, 88, 0.12);
    border-color: #EF1A1A; /* Accent Red border focus highlight */
}

.card-image-placeholder {
    width: 100%;
    height: 180px;
    background: #f8f9fa url('images/pattern-bg.png') repeat;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* Custom Pill Button Style Match */
.btn-pill {
    display: inline-block;
    background-color: #535353; /* Dark Gray */
    color: #ffffff;
    padding: 10px 26px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    align-self: center; /* Prevents button box stretch inside the flex card */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-pill:hover {
    background-color: #EF1A1A; /* Accent Red Swap */
    box-shadow: 0 4px 12px rgba(239, 26, 26, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   6. FOOTER CONFIGURATION
   ========================================================================== */
footer {
    background-color: #EDEBEB; /* Gray Panel tint color from file */
    color: #535353;            /* Dark Gray text */
    text-align: center;
    padding: 60px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   7. RESPONSIVE MOBILE DISPLAYS (Part 4 Breakpoint Optimization)
   ========================================================================== */
@media (max-width: 480px) {
    header { 
        padding: 15px 0; 
        position: relative; /* Switches off fixed sticky top to free mobile processor layout space */
    } 
    
    .nav-wrapper { 
        flex-direction: column; /* Stacks navigation components vertically for narrow screens */
        gap: 15px; 
    }
    
    nav ul { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 5px; 
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    nav ul li:last-child a { 
        margin-left: 0; 
        margin-top: 5px; 
    }
    
    .page-title-banner {
        padding: 25px 0;
    }
    
    .page-title-banner h1 {
        font-size: 1.8rem;
    }
    
    .grid-row { 
        flex-direction: column; /* Columns stack seamlessly on top of each other */
    }
}

